package com.binarysoft.service.common.ping;

import java.net.InetAddress;

import common.framework.dsb.DynamicService;

/**
 * It provides some ping diagnosis methods. You can judge whether timedout or not by method isTimedout() in PingResult<br/>
 * The defualt timeout is 3000MS, dataByteLength is 32.
 * 
 * @author Li Xu
 *
 */
public interface PingService extends DynamicService {

	PingResult doPing(InetAddress target, int timeout, int dataByteLength) ;
	PingResult doPing(InetAddress target, int timeout) ;
	PingResult doPing(InetAddress target) ;

}
